//mongodb node的驱动程序
const mongoose = require("mongoose");
//商品大类导航的数据结构
const navsSchema = new mongoose.Schema({
  name: String, //商品大类导航分类
});
//创建model
//借助在这里创建的model操作数据库
const navsModel = mongoose.model("navs", navsSchema, "navs");

module.exports = { navsModel };
